package com.huitone.gddw.service.impl.system;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.huitone.gddw.dao.entity.DicDef;
import com.huitone.gddw.dao.worktable.paramconfigmanage.IDicDefDao;
import com.huitone.gddw.service.system.IDicDefService;

/**
 * 数据字典 接口实现类
 * @author wuluodan
 *
 */
@Service
public class DicDefService implements IDicDefService {

	@Autowired
	private IDicDefDao dicDefDao;

	@Override
	public List<Map<String, Object>> getByDicName(String dicName) {
		return dicDefDao.selectByDicName(dicName);
	}

	@Override
	public DicDef findOne(Map<String, Object> params) {
		return dicDefDao.findOne(params);
	}
	
}
